@import url(https://fonts.loli.net/css?family=Lato:300italic,700italic,300,700);

html {
    background: #6C7989;
    background: #6c7989 linear-gradient(#6c7989, #434b55) fixed;
}

body {
    padding: 50px 0;
    margin: 0;
    font: 14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #555;
    font-weight: 300;
    background: url('') fixed;
}

.wrapper {
    width: 640px;
    margin: 0 auto;
    background: #DEDEDE;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px;
}

header, section, footer {
    display: block;
}

a {
    color: #069;
    text-decoration: none;
}

p, li {
    margin: 0 0 20px;
    padding: 0;
}

.brief li {
    margin: 0;
}

strong {
    color: #222;
    font-weight: 700;
}

header {
    -webkit-border-radius: 8px 8px 0 0;
    -moz-border-radius: 8px 8px 0 0;
    -ms-border-radius: 8px 8px 0 0;
    -o-border-radius: 8px 8px 0 0;
    border-radius: 8px 8px 0 0;
    background: #C6EAFA;
    background: linear-gradient(#ddfbfc, #c6eafa);
    position: relative;
    padding: 15px 20px;
    height: 103px;
    border-bottom: 1px solid #B2D2E1;
}

header h1 {
    margin: 0;
    padding: 0;
    font-size: 24px;
    line-height: 1.2;
    color: #069;
    text-shadow: rgba(255, 255, 255, 0.9) 0 1px 0;
}

header.without-description h1 {
    margin: 10px 0;
}

header p {
    margin: 0;
    color: #61778B;
    font-size: 13px;
}

header p.view {
    display: none;
    font-weight: 700;
    text-shadow: rgba(255, 255, 255, 0.9) 0 1px 0;
    -webkit-font-smoothing: antialiased;
}

header p.view a {
    color: #06c;
}

header p.view small {
    font-weight: 400;
}

header ul {
    margin: 0 0 15px 0;
    list-style: none;
    position: relative;
    z-index: 1;
    display: block;
    width: 360px;
    top: 15px;
    height: 38px;
    padding: 1px 0;
    background: #5198DF;
    background: linear-gradient(#77b9fb, #3782cd);
    border-radius: 5px;
    box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0;
}

header ul:before {
    content: '';
    position: absolute;
    z-index: -1;
    left: -5px;
    top: -4px;
    right: -5px;
    bottom: -6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0;
}

header ul li {
    float: left;
    border-right: 1px solid #3A7CBE;
    height: 38px;
}

header ul li.single {
    border: none;
}

header ul li + li {
    border-left: 1px solid #8BBEF3;
}

header ul li + li + li {
    border-right: none;
}

header ul a {
    line-height: 1.4;
    font-size: 11px;
    color: #fff;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    text-align: center;
    font-weight: 400;
    height: 40px;
    text-shadow: rgba(0, 0, 0, 0.4) 0 -1px 0;
}

header ul a strong {
    font-size: 14px;
    display: block;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

section {
    padding: 15px 20px;
    font-size: 15px;
    border-top: 1px solid #fff;
    background: linear-gradient(#fafafa, #dedede 700px);
    border-radius: 0 0 8px 8px;
    position: relative;
}

section.euclidea3 ul a.showfig {
    background: url(fig.png) 100% 50%/12px 14px no-repeat;
    padding-right: 14px;
    margin-right: 10px;
}

h1, h2, h3, h4, h5, h6 {
    color: #222;
    padding: 0;
    margin: 10px 0 20px;
    line-height: 1.2;
}

ul, ol, table, pre, dl {
    margin: 0 0 40px;
}

h1, h2, h3 {
    line-height: 1.1;
}

h1 {
    font-size: 28px;
}

h2 {
    color: #393939;
}

h3, h4, h5, h6 {
    color: #494949;
}

blockquote {
    margin: 0 -20px 20px;
    padding: 15px 20px 1px 40px;
    font-style: italic;
    background: #ccc;
    background: rgba(0, 0, 0, 0.06);
    color: #222;
}

img {
    max-width: 100%;
}

li pre {
    margin-left: -60px;
    padding-left: 60px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    text-align: left;
    padding: 5px 10px;
    border-bottom: 1px solid #aaa;
}

dt {
    color: #222;
    font-weight: 700;
}

th {
    color: #222;
}

small {
    font-size: 11px;
}

hr {
    border: 0;
    background: #aaa;
    height: 1px;
    margin: 0 0 20px;
}

footer {
    width: 640px;
    margin: 0 auto;
    padding: 20px 0 0;
    color: #ccc;
    overflow: hidden;
}

footer a {
    color: #fff;
    font-weight: bold;
}

footer p {
    float: left;
}

footer p + p {
    float: right;
}

.briefH4 {
    margin: 10px 0 5px;
}

li img {
    border: 1px solid #aaa;
    border-radius: 10px;
}

.toolIcon{
    width:44px;
    height:44px;
    display:inline-block;
}
.toolIcon.AngleBisector {
    background: url(AngleBisector.png);
}

.toolIcon.Circle {
    background: url(Circle.png);
}

.toolIcon.Compass {
    background: url(Compass.png);
}

.toolIcon.Intersect {
    background: url(Intersect.png);
}

.toolIcon.Line {
    background: url(Line.png);
}

.toolIcon.Next {
    width:10px;
    background: url(Next.png);
}

.toolIcon.Parallel {
    background: url(Parallel.png);
}

.toolIcon.Perpendicular {
    background: url(Perpendicular.png);
}

.toolIcon.PerpendicularBisector {
    background: url(PerpendicularBisector.png);
}

.toolIcon.Point {
    background: url(Point.png);
}

.toolIcon.Midpoint {
    background: url(Midpoint.png);
}
.stepIcons{
    vertical-align: top;
    line-height: 44px;
}
@media print, screen and (max-width: 740px) {
    body {
        padding: 0;
    }

    .wrapper {
        box-shadow: none;
        width: 100%;
    }

    footer {
        border-radius: 0;
        padding: 20px;
        width: auto;
    }

    footer p {
        float: none;
        margin: 0;
    }

    footer p + p {
        float: none;
    }
}


